import { HubSpotHttpErrorContext } from '../types/Error';
export declare const HubSpotHttpErrorName = "HubSpotHttpError";
export declare class HubSpotHttpError<T = any> extends Error {
    status?: number;
    code?: string;
    statusText?: string;
    data?: T;
    headers?: {
        [key: string]: unknown;
    };
    method: string | undefined;
    context: HubSpotHttpErrorContext | undefined;
    derivedContext: HubSpotHttpErrorContext | undefined;
    validationErrors: string[] | undefined;
    detailedMessage?: string;
    private divider;
    cause: ErrorOptions['cause'];
    timeout?: number;
    correlationId?: string;
    constructor(message?: string, options?: ErrorOptions, context?: HubSpotHttpErrorContext);
    updateContext(context: Partial<HubSpotHttpErrorContext>, additionalDebugContext?: string): void;
    toString(): string;
    formattedValidationErrors(): string;
    private extractDerivedContext;
    private parseValidationErrors;
    private joinErrorMessages;
}
